/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.fiap.herancaWEB;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

@Entity
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)

public class CD extends Item {
   private String artista;
   public String getArtista(){
      return artista;
   }
   public void setArtista(String artista){
       this.artista=artista;
   }
}
